luci-app-firewall: suppress lengthy masq description in zone table
authorJo-Philipp Wich <[email protected]>
Wed, 15 Mar 2023 22:33:56 +0000 (23:33 +0100)
committerJo-Philipp Wich <[email protected]>
Mon, 3 Apr 2023 11:51:44 +0000 (13:51 +0200)
Ensure that the description of the masquerade option does not end up in
the grid section overview as it messes up the table layout.

Fixes: c54efde717 ("luci-app-firewall: Add clarification to masquerading option")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit c0d4c0172529e060926e8fa00714bd9e8b567cb4)

applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js

index 53a07b6fb134658ac30725d5ea51b9cc092b706a..e19e466e1b3791799dadc1964bcc65559d4c4aea 100644 (file)
@@ -95,6 +95,7 @@ return view.extend({
                s.addremove = true;
                s.anonymous = true;
                s.sortable  = true;
+               s.nodescriptions = true;
 
                s.handleRemove = function(section_id, ev) {
                        return firewall.deleteZone(section_id).then(L.bind(function() {